< previous page page_226 next page >

Page 226
TABLE 8.3. ADDING THE NECESSARY INDEXES TO THE DATABASE.
Table NameIndex NameField Name
Address EntryidxFirstFirst Name
idxLastLast Name
idxPrimaryLast Name; First Name
PhonesidxPhonesEntry Fkey
OffspringidxChildEntry Fkey
CommentsidxCommentEntry Fkey
ReportsidxReportsReport Key

If you're wondering why built-in SQL queries haven't been mentioned yet, keep in mind that these types of queries are used primarily to speed up the SQL process and to answer specific data needs in an application. Unfortunately, most query requirements aren't known until you get to that section in the application-creation process.
Note
As you start the creation process for this application, if you decide that you want to include other data items in the address entry information, feel free to add them. Remember, however, that the forms also will have to be modified to accommodate the new fields.

Building the Application Prototype
Now that you've defined the database and have decided on each form that you need, the next step is to actually create the application prototype. At this point, you need to decide whether to use the Application Wizard to create the basic forms or create them from scratch. If you're like me, you'll use the Application Wizard. So start Visual Basic, if it's not already started, and then choose Add-Ins, Application Wizard.
Note
If the Application Wizard on your computer looks slightly different than the figures in this lesson, don't worry. I'm using the Application Wizard installed from the Visual Basic Web site.

When the wizard starts, you'll see the Introduction dialog box. Click Next to continue. In the next dialog box, select the option to use the Explorer interface and then click Next. The next dialog lets you to select the menu options that you want in the application (see Figure 8.6). Choose the options that you know are needed in this application.

 
< previous page page_226 next page >

If you like this book, buy it!